From 35857d79405d55729bd53ced840bc6d3dea06a53 Mon Sep 17 00:00:00 2001 From: "cl349@arcadians.cl.cam.ac.uk" Date: Wed, 15 Dec 2004 17:37:24 +0000 Subject: [PATCH] bitkeeper revision 1.1159.1.479 (41c07654rvhrbSCSdKV1f18P_UminA) sync w/ head. --- xen/arch/x86/domain.c | 1 + xen/common/domain.c | 1 + 2 files changed, 2 insertions(+) diff --git a/xen/arch/x86/domain.c b/xen/arch/x86/domain.c index 67b4e652c9..04b3e12695 100644 --- a/xen/arch/x86/domain.c +++ b/xen/arch/x86/domain.c @@ -235,6 +235,7 @@ void arch_do_createdomain(struct exec_domain *ed) memset(d->mm_perdomain_pt, 0, PAGE_SIZE); machine_to_phys_mapping[virt_to_phys(d->mm_perdomain_pt) >> PAGE_SHIFT] = INVALID_P2M_ENTRY; + ed->mm.perdomain_ptes = d->mm_perdomain_pt; } } diff --git a/xen/common/domain.c b/xen/common/domain.c index 82963c4c6b..f21f0d85df 100644 --- a/xen/common/domain.c +++ b/xen/common/domain.c @@ -336,6 +336,7 @@ long do_boot_vcpu(unsigned long vcpu, full_execution_context_t *ctxt) memcpy(&ed->thread, &idle0_exec_domain.thread, sizeof(ed->thread)); /* arch_do_createdomain */ + ed->thread.schedule_tail = d->exec_domain[0]->thread.schedule_tail; ed->mm.perdomain_ptes = d->mm_perdomain_pt + (ed->eid << PDPT_VCPU_SHIFT); sched_add_domain(ed); -- 2.30.2